﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using huaxin_Interface;
using huaxin_Impl;
using huaxin_Model;
using System.Diagnostics;
using Senparc.Weixin.MP.Sample.CommonService.MessageHandlers.CustomMessageHandler;
using System.Threading.Tasks;

namespace huaxin_luckdraw.Tests
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestUserAddMethod()
        {

            huaxin_usersInterface users = new huaxin_userImpl();

            //Stopwatch watch = new Stopwatch();
            //watch.Start();

            //var model = await users.GetModel("11");
            var result = MessageHelper.SubscribeEvent("111","");
            Assert.IsNull(result);

            //watch.Stop();
            //TimeSpan ts = watch.Elapsed;


        }
    }
}
